﻿using System;
using MUnit;

namespace MUnitTests
{
    class TestFail
    {
        [Test]
        [ExpectedException(typeof(FailureException))]
        public void FailAndExpectedException()
        {
            Verify.Fail("Fail message"); 
        }

        [Test]
        [ExpectedException(typeof(FailureException))]
        public void EmptyFailShouldShowUpInErrorList()
        {
            Verify.Fail("");
        }

        public void NotATest()
        {
            Verify.Fail("This should not be run."); 
        }
    }
}
